const getters = {
  isAuthed: state => state.user.userInfo,
  getUserInfo: state => state.user.userInfo,
  getUserRight: state => state.auth.userRight,
  urlInfo: state => state.config.urlInfo,
  getCollapsed: state => state.common.collapsed,
  getLoading: state => state.common.loading,
  getTabs: state => state.common.tabs,
  getTabParms: state => state.common.tabParms,
  getCurrentTab: state => state.common.currentTabIndex,
  getStation: state => state.auth.station,
  getBnCode: state => state.common.bnCode,
  getSearchData: state => state.common.searchData,
  getLastTime: state => state.common.lastTime,
  getParams: state => state.param,
  getUserSetting: state => state.user.userSetting,
  getCouponSelected: state => state.common.couponSelected,
  getCurrentModalIsMax: state => state.common.currentModalIsMax,
  getBookingNoteBncode: state => state.common.bookingNoteBncode,
  getT: state => state.common.t,
  lock: state => state.lock,
  getStationChangeFlag: state => state.common.stationChangeFlag,
  getSubTabIndex: state => state.common.currentSubTabIndex,
  getMenus: state => state.auth.menus,
  getSearchOrderNo: state => state.common.searchOrderNo,
  getCurrentPage: state => state.common.currentPage,
  getCurrentPageParm: state => state.common.currentPageParm,
  getPage: state => state.common.page,
  getTabIndex: state => state.common.tabIndex,
  getToInvoice: state => state.common.toInvoice
};

export default getters;
